
import shopping.checkout.Discount;
import fit.ColumnFixture;
import fit.Parse;

public class GivenTheFollowingThreeForThePriceOfTwoDeals extends ColumnFixture{

	public String Name;
	public String DiscountGroup;
	public String Barcode;
	
	@Override
	public void doRows(Parse rows) {
		SystemUnderTest.discountRange.deleteAll();
		super.doRows(rows);
	}
	
	@Override
	public void reset() throws Exception {
		Name = null;
		DiscountGroup = null;
	}

	@Override
	public void execute() throws Exception {
		SystemUnderTest.discountRange.addProduct(new Discount(Name, DiscountGroup, Barcode));
	}

	
	
}



